import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';


import { AppComponent } from './app.component';
import { AppRoutingModule } from './/app-routing.module';                 //路由组件
import { UsersComponent } from './users/users.component';                 //用户管理组件
import { RolesComponent } from './roles/roles.component';                 //角色管理组件
import { PostComponent } from './post/post.component';                    //文章管理组件
import { UserAddComponent } from './users/user-add/user-add.component';   //用户增加组件
import { PostAddComponent } from './post/post-add/post-add.component';    //文章增加组件
import { RoleAddComponent } from './roles/role-add/role-add.component';   //角色增加组件
import { RoleListComponent } from './roles/role-list/role-list.component'; //角色组件


@NgModule({
  declarations: [
    AppComponent,
    UsersComponent, 
    RolesComponent,
    PostComponent,
    UserAddComponent,
    PostAddComponent,
    RoleAddComponent,
    RoleListComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
